package com.ruoyi.project.distribute.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

import java.util.Date;

/**
 *  单据报单表
 *
 * @author anran
 */
public class HosDocumentLog extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 单据ID */
    @Excel(name = "单据ID")
    private String documentlogId;

    /** 供应商ID */
    @Excel(name = "供应商ID")
    private Long provideId;

    /** 总金额 */
    @Excel(name = "总金额")
    private Integer documentlogTotal;

    /** 申请人 */
    @Excel(name = "申请人")
    private String documentlogApply;

    /** 入库时间 */
    @Excel(name = "入库时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date documentlogStorage;

    /** 入库状态（0=入库成功 1=作废 2=待审核） */
    @Excel(name = "状态", readConverterExp = "0=入库成功,1=作废,2=待审核")
    private String status;

    private  HosProvide hosProvide;

    public String getDocumentlogApply()
    {
        return documentlogApply;
    }

    public void setDocumentlogApply(String documentlogApply)
    {
        this.documentlogApply = documentlogApply;
    }

    public String getDocumentlogId()
    {
        return documentlogId;
    }

    public void setDocumentlogId(String documentlogId)
    {
        this.documentlogId = documentlogId;
    }

    public Long getProvideId()
    {
        return provideId;
    }

    public void setProvideId(Long provideId)
    {
        this.provideId = provideId;
    }

    public Integer getDocumentlogTotal()
    {
        return documentlogTotal;
    }

    public void setDocumentlogTotal(Integer documentlogTotal)
    {
        this.documentlogTotal = documentlogTotal;
    }

    public Date getDocumentlogStorage()
    {
        return documentlogStorage;
    }

    public void setDocumentlogStorage(Date documentlogStorage)
    {
        this.documentlogStorage = documentlogStorage;
    }

    public String getStatus()
    {
        return status;
    }

    public void setStatus(String status)
    {
        this.status = status;
    }

    public HosProvide getHosProvide()
    {
        return hosProvide;
    }

    public void setHosProvide(HosProvide hosProvide)
    {
        this.hosProvide = hosProvide;
    }

    @Override
    public String toString()
    {
        return "HosDocumentLog{" + "documentlogId='" + documentlogId + '\'' + ", provideId=" + provideId
                + ", documentlogTotal=" + documentlogTotal + ", documentlogStorage=" + documentlogStorage + ", status='"
                + status + '\'' + ", hosProvide=" + hosProvide + '}';
    }
}
